<?php

include_once 'models/connexion_bdd.php';
$bdd=connect_bdd();
$_SESSION['id'];
include_once 'models/profil.php';
$profils = get_profils($_SESSION['id']); //id du profil demandé


foreach($profils as $cle => $profil)
{
	$profils[$cle]['nom'] = htmlspecialchars($profil['nom']);
	$profils[$cle]['prenom'] = htmlspecialchars($profil['prenom']);
	
}

include 'vues/profil.php';
?>